import { Component, Input, OnInit } from '@angular/core';
import { Express, Scene, StoryEntity } from 'src/classes/entities';

@Component({
  selector: 'app-sceneview',
  templateUrl: './sceneview.component.html',
  styleUrls: ['./sceneview.component.scss']
})
export class SceneviewComponent implements OnInit {

  constructor() { }

  ngOnInit(): void {
  }
  @Input()
  public get target(): Scene {
    return this.internalTarget;
  }

  public set target(v: Scene) {
    this.internalTarget = v;
  }

  private internalTarget: Scene;

  @Input()
  public get parent(): Express {
    return this.internalParent;
  }

  public set parent(v: Express) {
    this.internalParent = v;
  }

  private internalParent: Express;

  entities: StoryEntity[] = []

}
